package com.kemorebi.forum.service;

import com.kemorebi.forum.common.R;
import com.kemorebi.forum.model.dto.Register2Dto;
import com.kemorebi.forum.model.dto.UpdatePsdDTO;
import com.kemorebi.forum.model.dto.UserSimDTO;
import com.kemorebi.forum.model.dto.UserUpdateDTO;
import com.kemorebi.forum.model.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;


public interface UserService extends IService<User> {
    public Boolean checkUserExist(String aoount);

    public Boolean updateUser(UserUpdateDTO dto);


    List<UserSimDTO> queryUser(String query);

    R<Boolean> register2(Register2Dto register2Dto);

    R<Boolean> updateUserPassword(UpdatePsdDTO updatePsdDTO);
}
